home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GGGGEEEETTTTAAAARRRRGGGG((((3333FFFF)))) GGGGEEEETTTTAAAARRRRGGGG((((3333FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- getarg, iargc - return Fortran command-line argument
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggeeeettttaaaarrrrgggg((((iiii,,,, cccc))))
- cccchhhhaaaarrrraaaacccctttteeeerrrr****NNNN cccc
- iiiinnnntttteeeeggggeeeerrrr****4444 iiii
-
- iiiinnnntttteeeeggggeeeerrrr****4444 ffffuuuunnnnccccttttiiiioooonnnn iiiiaaaarrrrggggcccc(((())))
- iiiinnnntttteeeeggggeeeerrrr jjjj
-
- ccccaaaallllllll ggggeeeettttaaaarrrrgggg((((iiii,,,, cccc))))
- jjjj ==== iiiiaaaarrrrggggcccc(((())))
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _g_e_t_a_r_g returns the _i-th command-line argument of the current process.
-
- _i_a_r_g_c returns the index of the last argument.
-
- foo arg1 arg2 arg3
-
- _g_e_t_a_r_g(_2, _c) would return the string ``arg2'' in the character variable
- _c.
-
- _i_a_r_g_c would return 3 as the value of the function call.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- getopt(3C).
-
- NNNNOOOOTTTTEEEESSSS
- The compiler expects the existence of a Fortran MAIN_ program when these
- functions are used.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-